package ${package.Controller};

import org.springframework.web.bind.annotation.*;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import ${package.Entity}.${entity};
import ${package.Service}.${table.serviceName};

import org.xin.framework.base.controller.IBaseController;
import org.xin.common.result.Result;

/**
* <p>
    * ${table.comment!} 前端控制器
    * </p>
*
* @author: ${author}
* @date: Create in ${date}
*/
@Api(tags = "${table.controllerName}")
@CrossOrigin
@RestController
@RequestMapping("<#if package.ModuleName??>/${package.ModuleName}</#if>/<#if controllerMappingHyphenStyle??>${controllerMappingHyphen}<#else>${table.entityPath}</#if>")
public class ${table.controllerName} extends IBaseController<${entity}, ${cfg.ID}, ${table.serviceName}> {


}

